package com.cloud.file;

import org.dromara.x.file.storage.spring.EnableFileStorage;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@SpringBootApplication
@EnableDiscoveryClient
@MapperScan({"com.cloud.file.dao"})
//@EnableAutoDataSourceProxy //开启分布式事务
@EnableFileStorage
public class CloudFileApplication {

    public static void main(String[] args){
        SpringApplication.run(CloudFileApplication.class, args);
        System.out.println("(✿◠‿◠)  文件服务启动成功    (♥◠‿◠)");
    }
}
